import numpy as np
from PyCmpltrtok.common import sep

scale = 4
N = 5

sep('t')
t = np.linspace(-scale, scale, N)
print('t', t.shape)
print(t)

sep('grid')
grid = np.meshgrid(t, t)
for i, item in enumerate(grid):
    print(i, item.shape)
print(grid)

sep('pts')
pts = np.stack(grid, -1)
print('pts', pts.shape)
print(pts)
